/**
 * 配置中心
 * @module config
 * @param {baseURL} 基地址
 * @param {testToken} 测试token
 */

/**
 * true 测试  fasle 正式
 */
const dev = process.env.NODE_ENV == "production" ? false : true;
const devName = process.env.NODE_ENV;
// const dev = true;

const config = {
    baseURL: dev ? "https://ps.jibachuan.com/platform" : "https://ermapi.xlgxapp.com",
    env: dev,
    devName: devName,
    testToken: "eyJhbGciOiJIUzI1NiJ9.eyJwIjoiMDZDMTZGRTkwREE0M0Q0Mjc4RTYxQjE3QkYzMEYxN0QiLCJ0IjoxNTk1MzA5MDM2OTgwLCJwaG9uZSI6IjEzMDU2OTkxODcwIiwidSI6IkJDMjVCQkNGMUZGMDczN0Y1MURBRUE1NTc0NUFDRjFFIiwiZiI6MzE1MDAxLCJ2IjoyLCJmaWxsbmFtZSI6IuW8oOWBpSIsImlkIjoxMjcxfQ.3mtgRuO2fIBkpaGyINKw2GNnTp9O80_nvIHED0E_qRo"
}

export default config;